﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"  AutoEventWireup="true" CodeFile="CancelReq.aspx.cs" Inherits="SubmitLeave_CancelReq" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
        <table style="width: 507px" align="center">
            <tr>
                <td colspan="3" rowspan="2" style="height: 14px">
                    <asp:Panel ID="panel1" runat="server" Height="50px" Width="390px">
                        编号：<asp:Label ID="Label1" runat="server" Width="155px"></asp:Label><br />
                        审批者：<asp:Label ID="lblApproverName" runat="server" Width="155px"></asp:Label><br />
                        请假事由：<asp:Label ID="lblReason" runat="server" Width="142px"></asp:Label></asp:Panel>
                    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
            <tr>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:GridView ID="grdResult" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Width="660px" OnRowCommand="grdResult_RowCommand" OnSelectedIndexChanged="grdResult_SelectedIndexChanged">
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField HeaderText="开始时间" DataField="StartTime" />
                            <asp:BoundField HeaderText="结束时间" DataField="EndTime" />
                            <asp:BoundField HeaderText="提交时间" DataField="SubmitTime" />
                            <asp:BoundField HeaderText="状态" DataField="Status" />
                            <asp:BoundField HeaderText="小时数" DataField="Hours" />
                            <asp:ButtonField CommandName="Select" HeaderText="详细内容" Text="详细内容……" />
                            <asp:ButtonField ButtonType="Button" Text="取消" CommandName="Del" HeaderText="取消" />
                        </Columns>
                        <RowStyle BackColor="#EFF3FB" />
                        <EditRowStyle BackColor="#2461BF" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                <asp:Panel ID="Panel2" runat="server" Height="50px" Width="225px" Visible="False">
                    确定取消吗？<asp:Button ID="BtnYes" runat="server" OnClick="BtnYes_Click" Text="确定" />
                    <asp:Button ID="BtnNo" runat="server" OnClick="BtnNo_Click" Text="取消" /></asp:Panel>
                </td>
            </tr>
        </table>
    
    </div>
</asp:Content>